package com.hnichr.ump.common.talent.library.entity;


import com.hnichr.ump.common.entity.UmpEntity;
import com.mxpioframework.jpa.annotation.Generator;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "t_talent_area")
@Schema(description = "人才库-资质证书")
public class Area extends UmpEntity {

    @Id
    @Column(name = "id", updatable = false)
    @Schema(description = "ID")
    private String id;

    @Column(name = "name")
    @Schema(description = "名称")
    private String name;

    @Column(name = "level")
    @Schema(description = "级别")
    private String level;


    @Column(name = "center")
    @Schema(description = "坐标")
    private String center;

    @Column(name = "pid")
    @Schema(description = "父id")
    private String pid;

    @Column(name = "pinyin")
    @Schema(description = "拼音")
    private String pinyin;

    @Column(name = "area_code")
    @Schema(description = "拼音")
    private String areaCode;

}
